﻿(function () {
	'use strict';

	angular.module('main', ['ngRoute', 'ngResource'])
		.config(['$routeProvider', function ($routeProvider) {
			$routeProvider
			.when('/', {
				templateUrl: 'Static/views/pages/index.htm',
				controller: 'HomeController'
			})
			.when('contacts', {
				templateUrl: 'Static/views/pages/contacts.htm',
				controller: 'ContactsController'
			})
			.otherwise({
				redirectTo: '/'
			});
		} ]);
})();